package com.woniuxy.woniuticket.movieinfomodule.service.impl;

import com.woniuxy.woniuticket.movieinfomodule.dao.UsersInfoDAO;
import com.woniuxy.woniuticket.movieinfomodule.service.UserInfoService;
import com.woniuxy.woniuticket.pojo.UsersInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserInfoServiceImp implements UserInfoService {
    @Resource
    private UsersInfoDAO usersInfoDAO;
    public UsersInfo getUserInfoId(String telnumber){
        return usersInfoDAO.queryIdByTel(telnumber);
    }
}
